package work;

import book.Booklist;

public class DisplayBooks implements Iwork{
    public void work(Booklist booklist){
        int size=booklist.getBooklistsize();
        for(int i=0;i<size;i++)
        {
            System.out.println(booklist.getBook(i));
        }
    }
}
